home *** CD-ROM | disk | FTP | other *** search
/ Enigma Amiga Life 112 / EnigmaAmiga112CD.iso / dalla rivista / news / fxpaint_ek2 / install_kit next >
Text File  |  2000-04-24  |  6KB  |  170 lines

  1. ; Innovative fxPAINT CD Enhancement Kit II
  2. ; (C) 1999-2000 by Felix Schwarz/Innovative
  3. ; $VER: 1.0
  4.  
  5. (if (= @language "deutsch")
  6.         (
  7.                 ; ----------------------------
  8.                 ; Let`s use German as language
  9.                 ; ----------------------------
  10.                 (set #welcome "\n\n\n\n\nfxPAINT 1.0\nEnhancement Kit 2\n\n©1998-2000 by Felix Schwarz/Innovative")
  11.                 (set #endfx "\n\n\n\n\nBitte beenden Sie fxPAINT, wenn es gerade läuft, da das Update sonst nicht installiert werden kann!")
  12.                 (set #askinstall "Wo ist fxPAINT 1.0 auf Ihrer Festplatte installiert ? (Wo ist die Programmdatei ?)")
  13.                 (set #cputxt "Welchen 68K-Prozessor haben Sie in Ihrem AMIGA ?")
  14.                 (set #cpuhelp "Wenn Sie sich unsicher sind, wählen Sie 68000. Diese Version arbeitet mit allen Systemen.")
  15.                 (set #copylibs "Überprüfe und kopiere benötigte Libraries..")
  16.                 (set #copyfxpaint "Kopiere fxPAINT-Dateien..")
  17.                 (set #updatebins "Bringe Dateien auf den neuesten Stand ..")
  18.                 (set #newdocu "Docu/German")
  19.                 (set #byebye "Der fxPAINT Enhancment Kit 2 ist nun installiert. Führen Sie einen Neustart aus, bevor Sie fxPAINT starten.")
  20.         )
  21.         (
  22.                 ; -----------------------------
  23.                 ; Let`s use English as language
  24.                 ; -----------------------------
  25.                 (set #welcome "\n\n\n\n\nfxPAINT 1.0\nEnhancement Kit 2\n\n©1998-2000 by Felix Schwarz/Innovative")
  26.                 (set #endfx "\n\n\n\n\nPlease quit fxPAINT, if it is currently running as otherwhise the EK 2 can't be installed!")
  27.                 (set #askinstall "Where is fxPAINT 1.0 installed ? (Where is the programfile ?)")
  28.                 (set #cputxt "Which 68K-CPU do you have installed in your AMIGA ?")
  29.                 (set #cpuhelp "If you`re not sure, which CPU is installed in your AMIGA, choose the 68000. This version works on all systems.")
  30.                 (set #copylibs "Checking and installing required libraries..")
  31.                 (set #copyfxpaint "Copying fxPAINT-files..")
  32.                 (set #updatebins "Bringe Dateien auf den neuesten Stand ..")
  33.                 (set #newdocu "Docu/English")
  34.                 (set #byebye "The fxPAINT Enhancment Kit 2 is now installed. Please restart your machine before starting fxPAINT")
  35.         )
  36. )
  37.  
  38. ; --------------------------------------
  39. ; Ok, let`s begin with a small greeting!
  40. ; --------------------------------------
  41.  
  42. (message #welcome)
  43.  
  44. (message #endfx)
  45.  
  46. (procedure PLUGIN_PATCH file dir
  47.         (
  48.                 (set #pluginname
  49.                         (tackon dir (cat "Plugins/" file ".plugin"))
  50.                 )
  51.  
  52.                 (set #exe (cat "iPATCH fxPAINTCD:InstallData/fxPAINTData/fxPAINT/Plugins/" file ".plugin Patchfiles/" file ".pch " #pluginname))
  53.  
  54.                 (run #exe)
  55.         )
  56. )
  57.  
  58.  
  59. (welcome)
  60.  
  61. ; -------------------------------------
  62. ; Set destination-directory for fxPAINT
  63. ; -------------------------------------
  64. (set #installdir
  65.         (askdir
  66.                 (prompt #askinstall)
  67.                 (help @askdir-help)
  68.                 (default "fxPAINT:")
  69.         )
  70. )
  71.  
  72. ; ------------------------------
  73. ; Set CPU installed in the AMIGA
  74. ; ------------------------------
  75. (set #cpu 1)
  76. (set #cpu2 (database "fpu"))
  77. (if (= #cpu2 "NOFPU") (set #cpu 0))
  78.  
  79. (set #cpuvers (askchoice (choices "68000/010 (o. 020/030/040/060 non FPU)" "68020/030/040/060 + FPU")
  80.                 (prompt #cputxt)
  81.                 (help   #cpuhelp)
  82.                 (default #cpu)
  83.         )
  84. )
  85.  
  86. (set #thewholename
  87.         (tackon #installdir "fxPAINT")
  88. )
  89.  
  90. (set #thewholeppcone
  91.         (tackon #installdir "PPC/fxPAINTWOS")
  92. )
  93.  
  94. (set #thewholeppctwo
  95.         (tackon #installdir "PPC/fxPAINTPPC.elf")
  96. )
  97.  
  98. (if (= #cpuvers 0)
  99.         (set #cpuexe (cat "iPATCH fxPAINTCD:InstallData/CPU/680x0/fxPAINT Patchfiles/fxPAINT000.pch " #thewholename))
  100. )
  101.  
  102. (if (= #cpuvers 1)
  103.         (set #cpuexe (cat "iPATCH fxPAINTCD:InstallData/CPU/68020/fxPAINT Patchfiles/fxPAINT020.pch " #thewholename))
  104. )
  105.  
  106. (set #ppcexeone (cat "iPATCH fxPAINTCD:InstallData/fxPAINTData/fxPAINT/PPC/fxPAINTWOS Patchfiles/fxPAINTWOS.pch " #thewholeppcone))
  107.  
  108. (set #ppcexetwo (cat "iPATCH fxPAINTCD:InstallData/fxPAINTData/fxPAINT/PPC/fxPAINTPPC.elf Patchfiles/fxPAINTPPC.pch " #thewholeppctwo))
  109.  
  110. (working #updatebins)
  111.  
  112. (run #cpuexe)
  113. (run #ppcexeone)
  114. (run #ppcexetwo)
  115.  
  116. (PLUGIN_PATCH "datatypes"     #installdir)
  117. (PLUGIN_PATCH "documentation" #installdir)
  118. (PLUGIN_PATCH "ics"           #installdir)
  119. (PLUGIN_PATCH "newos_icon"    #installdir)
  120. (PLUGIN_PATCH "newos_wb"      #installdir)
  121. (PLUGIN_PATCH "pcd"           #installdir)
  122. (PLUGIN_PATCH "philth"        #installdir)
  123. (PLUGIN_PATCH "pyro"          #installdir)
  124. (PLUGIN_PATCH "render"        #installdir)
  125.  
  126. ; ---------------------------------
  127. ; Copy fxWARP.library and new files
  128. ; ---------------------------------
  129. (copyfiles
  130.         (source "fxPAINT/Libs")
  131.         (dest "LIBS:")
  132.         (pattern "#?WARP#?")
  133. )
  134.  
  135. (copyfiles
  136.         (source "fxPAINT")
  137.         (dest #installdir)
  138.         (pattern "#?")
  139. )
  140.  
  141. ; -------------------------
  142. ; Delete tipoftheday.plugin
  143. ; -------------------------
  144.  
  145. (set #thewholeplugin
  146.         (tackon #installdir "Plugins/tipoftheday.plugin")
  147. )
  148.  
  149. (delete #thewholeplugin)
  150.  
  151. ; -------------------------
  152. ; Update the documentation
  153. ; -------------------------
  154.  
  155. (set #docdest
  156.         (tackon #installdir "Doc")
  157. )
  158.  
  159. (copyfiles
  160.         (source #newdocu)
  161.         (dest #docdest)
  162.         (pattern "#?")
  163. )
  164.  
  165. ; -------------------------
  166. ; Say Bye-Bye and Thank-You
  167. ; -------------------------
  168.  
  169. (message #byebye)
  170.